package com.arvato.wxwork.service.ncc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.arvato.wxwork.bean.bean_do.ncc.WxworkTaskDo;
import com.arvato.wxwork.mapper.ncc.WxworkTaskMapper;


@Service
@Transactional
public class WxworkTaskService {
	
	
	@Autowired
	private WxworkTaskMapper wxworkTaskMapper;	
	
	/**
	 * 批量查询(分页)
	 * @param query
	 * @param pageNum
	 * @param pageSize
	 */
	public int insert(WxworkTaskDo dto) {
		return wxworkTaskMapper.insert(dto);
	}

	public WxworkTaskDo getTaskById(String id) {
		return wxworkTaskMapper.getTaskById(id);
	}
	
}
